package com.eastfair.imaster.mydao;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.imaster.entity.ConferenceTopicSpeaker;
import com.eastfair.imaster.enumeration.ConferenceTopicSpeakerTypeEnum;
import com.eastfair.imaster.vo.ConferenceTopicSpeakerVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 嘉宾列表详情
 * </p>
 *
 * @author zjn
 * @date 2021-09-02
 */
@Repository
public interface MyConferenceTopicSpeakerMapper extends SuperMapper<ConferenceTopicSpeaker> {

    /**
     * 通过 嘉宾列表id、排序方式 获取嘉宾集合
     * speakerListId  嘉宾列表id
     * sortOrderType  排序方式
     * searchKeywords 搜索关键字
     *
     * @return 嘉宾集合
     */
    @InterceptorIgnore(tenantLine = "true")
    List<ConferenceTopicSpeakerVO> getByConferenceTopicId(@Param("conferenceTopicId") Long conferenceTopicId,
                                                        @Param("conferenceTopicSpeakerType") String conferenceTopicSpeakerType,
                                                        @Param("sortOrderType") String sortOrderType);

}
